projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9abcea
)
xm: Fix maxvcpus support
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 26 Nov 2009 10:57:26 +0000
(10:57 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 26 Nov 2009 10:57:26 +0000
(10:57 +0000)
Signed-off-by: Michal Novotny <minovotn@redhat.com>
tools/python/xen/xm/create.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/create.py
b/tools/python/xen/xm/create.py
index b13e3b559a9f8160a864e1a1bb21a1bf51d24a2e..585aad8315d4e33138edbc891bb207e494f23308 100644
(file)
--- a/
tools/python/xen/xm/create.py
+++ b/
tools/python/xen/xm/create.py
@@
-1041,6
+1041,7
@@
def make_config(vals):
config.append(['vcpus', maxvcpus])
if maxvcpus and vcpus:
config.append(['vcpu_avail', (1 << vcpus) - 1])
+ config.append(['vcpus', maxvcpus])
# For case we don't have maxvcpus set but we have vcpus we preserve
# old behaviour